package com.caocaog.market.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.caocaog.market.entity.PushTaskRecord;

/**
 * 推送任务记录管理
 *
 * @author chechen
 * @date 2022-05-25
 */
public interface PushTaskRecordService extends IService<PushTaskRecord> {

    /**
     * 查询推送任务记录分页
     *
     * @param page           分页信息
     * @param pushTaskRecord 查询条件
     * @return 推送任务记录分页
     */
    IPage<PushTaskRecord> queryPushTaskRecordPage(Page<PushTaskRecord> page, PushTaskRecord pushTaskRecord);

    /**
     * 新增推送任务记录
     *
     * @param pushTaskRecord 推送任务记录
     */
    void addPushTaskRecord(PushTaskRecord pushTaskRecord);

}
